.root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: white;

  .topView {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    //flex-wrap: wrap;

    .topViewLeft {
      display: flex;
      flex-direction: column;

      .topViewLeftAlarmView {
        width: 200px;
        height: 100px;
        background-color: white;
        display: flex;
        flex-direction: column;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 0 12px 0 rgba(0,0,0,0.06);

        .topViewLeftAlarmViewTitleView {
          display: flex;
          flex-direction: row;
          align-items: center;

          .topViewLeftAlarmViewTitleViewImg {
            width: 20px;
            height: 20px;
          }

          .topViewLeftAlarmViewTitleViewText {
            font-size: 14px;
            margin-left: 10px;
            font-weight: bold;
          }
        }

        .topViewLeftAlarmViewDetailView {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;
          margin-top: 10px;

          .topViewLeftAlarmViewDetailViewValue {
            font-size: 20px;
            color: #FE734D;
          }

          .topViewLeftAlarmViewDetailViewValueArrow {
            width: 20px;
            height: 20px;
          }
        }
      }

      .topViewLeftDrivingChargingView {
        margin-top: 20px;
        width: 400px;
        height: 100px;
        background-color: white;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 0 12px 0 rgba(0,0,0,0.06);

        .topViewLeftDrivingChargingViewSubView {
          flex: 1;
          display: flex;
          flex-direction: column;

          .topViewLeftDrivingChargingViewSubViewTitleView {
            display: flex;
            flex-direction: row;
            align-items: center;

            .topViewLeftDrivingChargingViewSubViewTitleViewImg {
              width: 20px;
              height: 20px;
            }

            .topViewLeftDrivingChargingViewSubViewTitleViewText {
              font-size: 14px;
              margin-left: 10px;
              font-weight: bold;
            }
          }

          .topViewLeftDrivingChargingViewSubViewValueView {
            font-size: 20px;
            color: #228CFF;
            margin-top: 10px;
          }
        }
      }

      .topViewLeftCarView {
        margin-top: 20px;
        width: 400px;
        height: 400px;
        background-color: white;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 0 12px 0 rgba(0,0,0,0.06);

        .topViewLeftCarViewLeftView {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          height: 100%;

          .topViewLeftCarViewLeftViewItem {
            display: flex;
            flex-direction: column;

            .topViewLeftCarViewLeftViewItemTitleView {
              display: flex;
              flex-direction: row;

              .topViewLeftCarViewLeftViewItemTitleViewImg {
                width: 20px;
                height: 20px;
              }

              .topViewLeftCarViewLeftViewItemTitleViewText {
                font-size: 14px;
                margin-left: 10px;
                font-weight: bold;
              }
            }

            .topViewLeftCarViewLeftViewItemValueView {
              font-size: 20px;
              color: #228CFF;
              margin-top: 10px;
            }
          }
        }

        .topViewLeftCarViewRightView {
          flex: 1;
          display: flex;
          flex-direction: column;

          .topViewLeftCarViewRightViewItem {
            display: flex;
            flex-direction: column;

            .topViewLeftCarViewRightViewItemTitleView {
              display: flex;
              flex-direction: row;

              .topViewLeftCarViewRightViewItemTitleViewImg {
                width: 20px;
                height: 20px;
              }

              .topViewLeftCarViewRightViewItemTitleViewText {
                font-size: 14px;
                margin-left: 10px;
                font-weight: bold;
              }
            }

            .topViewLeftCarViewRightViewItemValueView {
              font-size: 20px;
              color: #228CFF;
              margin-top: 10px;
            }
          }

          .topViewLeftCarViewRightViewEchart {
            width: 100%;
            height: 100%;
          }
        }
      }
    }

    .topViewMid {
      width: 640px;
      height: 640px;

      .topViewMidEchart {
        width: 100%;
        height: 100%;
      }
    }

    .topViewRight {
      display: flex;
      flex-direction: column;
      width: 360px;
      height: 640px;
      box-shadow: 0 0 12px 0 rgba(0,0,0,0.06);
      border-radius: 12px;
      padding: 20px;

      .topViewRightTitleView {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: relative;

        .topViewRightTitleViewBackView {
          width: 80px;
          height: 25px;
          background-color: #007EFE;
          border-radius: 4px;
          position: absolute;
          right: 0;
          top: 0;
          color: white;
          font-size: 12px;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor:pointer;
        }

        .topViewRightTitleViewImg {
          width: 10px;
          height: 10px;
          background-color: #007EFE;
          border-radius: 5px;
        }

        .topViewRightTitleViewText {
          font-size: 16px;
          font-weight: bold;
          margin-left: 10px;
        }
      }

      .topViewRightTableView {
        margin-top: 10px;
        width: 100%;
        height: 100%;
      }
    }
  }

  .midView {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 20px;

    .midViewItemBack {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
      flex-wrap: wrap;

      .midViewItemView {
        margin-top: 20px;
        width: 400px;
        height: 400px;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 0 12px 0 rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
        padding: 20px;
        position: relative;

        .midViewItemViewTitleContentView {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;

          .midViewItemViewTitle {
            font-size: 16px;
            font-weight: bold;
          }

          .midViewItemViewTitleDetail {
            font-size: 16px;
          }

          .midViewItemViewTitleDateSelectView {
            display: flex;
            flex-direction: row;

            .midViewItemViewTitleDateSelectViewItem {
              margin-left: 20px;
              font-size: 10px;
              color: black;
              cursor:pointer;
            }
          }
        }

        .midViewItemViewTitle {
          font-size: 16px;
          font-weight: bold;
        }

        .midViewItemViewEchart {
          width: 100%;
          height: 100%;
        }

        .midViewItemViewStartSOCDetailView {
          display: flex;
          flex-direction: row;
          align-items: center;
          height: 100%;

          .midViewItemViewStartSOCEchart {
            width: 50%;
            height: 100%;
          }

          .midViewItemViewStartSOCValueView {
            display: flex;
            flex-wrap: wrap;
            width: 50%;
            height: 50%;

            .midViewItemViewStartSOCValueViewItem {
              margin-left: 20px;
              display: flex;
              flex-direction: column;
              justify-content: center;

              .midViewItemViewStartSOCValueViewItemTitleView {
                display: flex;
                flex-direction: row;
                align-items: center;
                width: 60px;

                .midViewItemViewStartSOCValueViewItemTitleViewImg {
                  width: 10px;
                  height: 10px;
                  border-radius: 5px;
                  background-color: red;
                }

                .midViewItemViewStartSOCValueViewItemTitleViewText {
                  font-size: 10px;
                  color: rgba(0, 0, 0, 0.5);
                  margin-left: 10px;
                }
              }

              .midViewItemViewStartSOCValueViewItemValueView {
                margin-left: 20px;
                font-size: 14px;
                color: rgba(0, 0, 0, 0.9);
              }
            }
          }
        }

        .midViewItemViewAlarmView {
          position: absolute;
          display: flex;
          flex-direction: column;
          right: 25px;
          top: 110px;
          width: 130px;

          .midViewItemViewAlarmViewTitle {
            font-size: 12px;
          }

          .midViewItemViewAlarmViewDetail {
            display: flex;
            flex-direction: row;

            .midViewItemViewAlarmViewDetailValue {
              font-size: 20px;
              font-weight: bold;
            }

            .midViewItemViewAlarmViewDetailPersent {
              font-size: 10px;
              color: #FDA437;
              margin-top: 10px;
              margin-left: 8px;
            }
          }
        }

        .midViewItemViewAlarmInfoView {
          display: flex;
          flex-direction: column;
          height: 100%;
          padding-top: 30px;
          padding-bottom: 10px;
          justify-content: space-between;

          .midViewItemViewAlarmInfoViewItem {
            width: 100%;
            height: 60px;
            border-radius: 6px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;

            .midViewItemViewAlarmInfoViewItemLeft {
              display: flex;
              flex-direction: row;
              align-items: center;

              .midViewItemViewAlarmInfoViewItemLeftImg {
                width: 40px;
                height: 40px;
                margin-left: 10px;
              }

              .midViewItemViewAlarmInfoViewItemLeftTextView {
                display: flex;
                flex-direction: column;
                margin-left: 10px;

                .midViewItemViewAlarmInfoViewItemLeftTextViewTitle {
                  font-size: 14px;
                }

                .midViewItemViewAlarmInfoViewItemLeftTextViewSubTitle {
                  font-size: 10px;
                  color: rgba(0, 0, 0, 0.5);
                }
              }
            }

            .midViewItemViewAlarmInfoViewItemRight {
              margin-right: 10px;
            }
          }
        }
      }
    }
  }
}

:global {
  .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
    background-color: white;
    cursor:pointer;
  }
  .ant-table-body .ant-table-cell-row-hover{
    color: #228CFF;
    cursor:pointer;
  }
}
